#include <iostream>

using namespace std;
struct antarctica_years_end
{
    int year;
};

int main()
{
    antarctica_years_end s01, s02, s03;
    s01.year = 1998;
    antarctica_years_end *pa = &s02;
    pa->year = 1999;
    antarctica_years_end trio[3];
    trio[0].year = 2003;
    (trio + 1)->year = 2004;
    cout << trio->year << endl; //2003
    const antarctica_years_end *arp[3] = {&s01, &s02, &s03};

    cout << arp[1]->year << endl;//1999
    const antarctica_years_end **ppa = arp;
    //auto自动推断ppd
    auto ppd = arp;
    cout << (*ppa)->year << endl;//1998
    cout << (*(ppd + 1))->year << endl;//1999
    return 0;
}